
export default [
  {
    path: 'functions-library',
    component: () => import('@/views/functions/index.vue'),
    children: [
      {
        path: 'new-library',
        name: 'NewLibrary',
        component: () => import('@/views/functions/NewLibrary.vue'),
        meta: {
          keepAlive: false
        }
      },
      {
        path: '/',
        name: 'MyLibrary',
        component: () => import('@/views/functions/MyLibrary.vue'),
        meta: {
          keepAlive: true
        }
      },
      {
        path: 'my-function',
        name: 'MyFunction',
        component: () => import('@/views/functions/ModifyFunction.vue'),
        meta: {
          keepAlive: false
        }
      },
      {
        path: 'edit',
        name: 'NewByType',
        component: () => import('@/views/functions/NewByType.vue'),
        meta: {
          keepAlive: false
        }
      }
    ]
  }
];

